JavaScript Garbage Collection
JavaScript garbage collection automatically reclaims objects that running code can no longer reach. In Node.js, the V8 engine performs this work and its heap-size settings affect how much memory is available before collection pressure rises.
Resources
https://mrale.ph/ https://jayconrod.com/posts/55/a-tour-of-v8-garbage-collection https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_management https://v8.dev/ https://betterprogramming.pub/deep-dive-into-garbage-collection-in-javascript-6881610239a
https://nodejs.org/api/cli.html#--max-semi-space-sizesize-in-megabytes https://blog.risingstack.com/node-js-at-scale-node-js-garbage-collection/
Share: